package edu.scut.course_management.dto;

import java.util.List;

/**
 * 数据封装，用于“返回某门具体课程信息”
 * 
 * @author thompson
 */
public class GetConcreteCourse {
    private String title;
    private String courseTypeName;
    private String year;
    private String term;
    private Integer classHours;
    private Double credits;
    private String name;
    private String departmentName;
    private String academicTitle;
    private List<TimePlace> timePlace;

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getCourseTypeName() {
        return courseTypeName;
    }

    public void setCourseTypeName(String courseTypeName) {
        this.courseTypeName = courseTypeName;
    }

    public String getYear() {
        return year;
    }

    public void setYear(String year) {
        this.year = year;
    }

    public String getTerm() {
        return term;
    }

    public void setTerm(String term) {
        this.term = term;
    }

    public Integer getClassHours() {
        return classHours;
    }

    public void setClassHours(Integer classHours) {
        this.classHours = classHours;
    }

    public Double getCredits() {
        return credits;
    }

    public void setCredits(Double credits) {
        this.credits = credits;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDepartmentName() {
        return departmentName;
    }

    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }

    public String getAcademicTitle() {
        return academicTitle;
    }

    public void setAcademicTitle(String academicTitle) {
        this.academicTitle = academicTitle;
    }

    public List<TimePlace> getTimePlace() {
        return timePlace;
    }

    public void setTimePlace(List<TimePlace> timePlace) {
        this.timePlace = timePlace;
    }

    @Override
    public String toString() {
        return "GetConcreteCourse [academicTitle=" + academicTitle + ", classHours=" + classHours + ", courseTypeName="
                + courseTypeName + ", credits=" + credits + ", departmentName=" + departmentName + ", name=" + name
                + ", term=" + term + ", timePlace=" + timePlace + ", title=" + title + ", year=" + year + "]";
    }

    public GetConcreteCourse(String title, String courseTypeName, String year, String term, Integer classHours,
        Double credits, String name, String departmentName, String academicTitle) {
        this.title = title;
        this.courseTypeName = courseTypeName;
        this.year = year;
        this.term = term;
        this.classHours = classHours;
        this.credits = credits;
        this.name = name;
        this.departmentName = departmentName;
        this.academicTitle = academicTitle;
    }

    public GetConcreteCourse(String title, String courseTypeName, String year, String term, Integer classHours,
            Double credits) {
        this.title = title;
        this.courseTypeName = courseTypeName;
        this.year = year;
        this.term = term;
        this.classHours = classHours;
        this.credits = credits;
    }

    //title, course_type_name, year, term, class_hours, credits
    

    
    
    

}